const fs = require('fs')
const path = require('path')
fs.readFile(path.join(__dirname, './files/1.txt'), 'utf8', (err, datastr) => {
    if (err) return console.log('读取文件失败' + err.message)
    console.log(datastr)
})